package com.ybkj.o2o.zhuanche.service;

import com.ybkj.o2o.zhuanche.common.query.CarTypeCompanyQuery;
import com.ybkj.o2o.zhuanche.entity.CarTypeCompany;
import com.ybkj.o2o.zhuanche.entity.CarTypeCompanyCriteria;

import java.util.List;

public interface CarTypeCompanyService 
    extends BaseService<CarTypeCompany, CarTypeCompanyCriteria, Long> {

  List<CarTypeCompany> findByCompanyIdAndCarTypeId(CarTypeCompanyQuery carTypeCompanyQuery);

  Long countByCarTypeId(CarTypeCompanyQuery carTypeCompanyQuery);

  Long deleteByCarTypeId(Long carTypeId, String appKey);

  List<CarTypeCompany> countType(Long companyId, String appKey);
}
